.FindAnything {
  background: #e7eaf1;
  border-radius: 5px;
  margin-top: 15px;
  height: 32px;
  display: flex;
  align-items: center;
  color: rgba(106, 112, 124, 0.4);
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
  cursor: text;
  user-select: none;
  svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-right: 5px;
  }
  .placeholder {
    color: rgba(106, 112, 124, 0.4);
    font-size: 15px;
  }
  &.isModalOpen {
    cursor: default;
  }
}
.FindAnythingModal {
  --margin-top: 50px;
  --search-box-height: 45px;
  --search-box-radius: 5px;

  position: fixed;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  width: 100%;
  z-index: 6;
  left: 0;
  top: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-right: 5px;
  }
  input {
    border: none;
    width: 100%;
    outline: none;
    &::placeholder {
      color: rgba(106, 112, 124, 0.4);
      font-size: 16px;
    }
  }

  .SearchBox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: white;
    width: 600px;
    height: var(--search-box-height);
    margin-top: var(--margin-top);
    border-radius: var(--search-box-radius);
    padding: 10px;
    z-index: 7;
    box-shadow: var(--shadow-primary);
    border-bottom: 1px solid rgba(106, 112, 124, 0.1);
    &.hasResults {
      border-radius: var(--search-box-radius) var(--search-box-radius) 0 0;
    }
  }

  .SearchResults {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--margin-top) + var(--search-box-height) - var(--search-box-radius));
    padding-top: var(--search-box-radius);
    max-height: calc(90vh - var(--margin-top));
    width: 600px;
    background-color: white;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 5px 5px;
    overflow-y: auto;

    .SearchResult {
      display: flex;
      flex-direction: column;
      padding: 0.5em;
      margin-right: -2.8rem;
      margin-left: -2.8rem;
      margin: 0;
      font-size: 1em;
      list-style-type: none;
      cursor: pointer;
      &:hover,
      &.active {
        background-color: rgb(239, 241, 245);
      }
    }
  }

  .SearchResult_Title {
    font-weight: bold;
  }

  .SearchResultText {
    display: flex;
    font-size: 0.8em;
    padding: 0 0.1em 0 0;
    color: rgb(163, 163, 163);
    flex-wrap: wrap;
  }

  .SearchResultTexts {
    display: flex;
    flex-direction: row;
  }
}
